type compress/flate.hcode
9 uses
compress/flate (current package)
huffman_bit_writer.go#L327: func (w *huffmanBitWriter) writeCode(c hcode) {
huffman_bit_writer.go#L574: func (w *huffmanBitWriter) writeTokens(tokens []token, leCodes, oeCodes []hcode) {
huffman_code.go#L14: type hcode struct {
huffman_code.go#L19: codes []hcode
huffman_code.go#L52: func (h *hcode) set(code uint16, length uint16) {
huffman_code.go#L60: return &huffmanEncoder{codes: make([]hcode, size)}
huffman_code.go#L89: codes[ch] = hcode{code: reverseBits(bits, byte(size)), len: size}
huffman_code.go#L98: codes[ch] = hcode{code: reverseBits(uint16(ch), 5), len: 5}
huffman_code.go#L261: h.codes[node.literal] = hcode{code: reverseBits(code, uint8(n)), len: uint16(n)}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |